#define _CRT_SECURE_NO_WARNINGS
#pragma warning(disable:6031)

#include "heap.h"

int main()
{
	int a[] = { 100, 50, 30, 15, 10, 9, 5 };

	Heap b;
	HPInit(&b);

	for (int i = 0; i < sizeof(a) / sizeof(a[0]); i++)
	{
		HPPush(&b, a[i]);
	}

	printf("finished");

	HPDestory(&b);

	return 0;
}